package com.ruoyi.wq.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 微信小游戏对象 wq_mini_game
 * 
 * @author ruoyi
 * @date 2023-06-16
 */
public class WqMiniGame extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /** 广告ID */
    private String adId;
    
    /** 小程序ID */
    private String appId;

    /** 游戏名称 */
    @Excel(name = "游戏名称")
    private String name;

    /** 游戏logo */
    @Excel(name = "游戏logo")
    private String logo;

    /** 游戏二维码 */
    @Excel(name = "游戏二维码")
    private String qrCode;

    /** 动态图片可多张逗号分割 */
    @Excel(name = "动态图片可多张逗号分割")
    private String image;

    /** 游戏简介 */
    @Excel(name = "游戏简介")
    private String intro;

    /** 星星 */
    @Excel(name = "星星")
    private BigDecimal star;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 在玩人数 */
    @Excel(name = "在玩人数")
    private Long playNum;

    /** 浏览人数 */
    @Excel(name = "浏览人数")
    private Long eyeNum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public String getAdId() {
		return adId;
	}

	public void setAdId(String adId) {
		this.adId = adId;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setStar(BigDecimal star) 
    {
        this.star = star;
    }

    public BigDecimal getStar() 
    {
        return star;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setPlayNum(Long playNum) 
    {
        this.playNum = playNum;
    }

    public Long getPlayNum() 
    {
        return playNum;
    }
    public void setEyeNum(Long eyeNum) 
    {
        this.eyeNum = eyeNum;
    }

    public Long getEyeNum() 
    {
        return eyeNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("qrCode", getQrCode())
            .append("image", getImage())
            .append("intro", getIntro())
            .append("star", getStar())
            .append("orderNum", getOrderNum())
            .append("playNum", getPlayNum())
            .append("eyeNum", getEyeNum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
